#ifndef WIDGETPLUGININTERFACE_H
#define WIDGETPLUGININTERFACE_H

#include <QWidget>

#include "plugininterface.h"


class WidgetPluginInterface : public PluginInterface
{
public:
    ~WidgetPluginInterface(){}
    virtual QWidget* createWidget(QWidget* parent = 0) = 0;
};

QT_BEGIN_NAMESPACE
Q_DECLARE_INTERFACE(WidgetPluginInterface,
                    "com.iFramework.WidgetPluginInterface/0.1");
QT_END_NAMESPACE

#endif // WIDGETPLUGININTERFACE_H
